package com.qf.mapper;
import com.qf.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface CategoryMapper{

    //1、连接查询
    List<Category> selectAllCategories();

    //2、子查询
    List<Category> selectFirstLevelCategories(String id);


}
